package edu.xhu.communityantiepidemicsystemback.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import edu.xhu.communityantiepidemicsystemback.dto.*;
import edu.xhu.communityantiepidemicsystemback.entity.Staff;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lcx
 * @since 2022-06-20
 */
public interface IStaffService extends IService<Staff> {

    public IPage<Staff> selectStaffList(Query query);
    //添加人员信息
    public boolean addStaff(CreatStaff creatStaff);
    //删除人员信息
    public boolean delStaff(Integer id);
    //修改人员信息
    public boolean updateStaff(UpdateStaff updateStaff);
    //模糊查询
    IPage<Staff> fuzzyStaffInfo(Fuzzy fuzzy);

}
